<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>007</title>

    <script>
        var arr = ["孙悟空", "电玩小子", "贝利亚", "假面骑士V3", "威震天", "老爹"];
        var str = "有请";
        for (let index = 0; index < arr.length; index++) {
            if (index < arr.length - 1) {
                str += arr[index] + '\,';
            }
            else {
                str += '和' + arr[index] + '，他们是来自童年的勇士'
            }
        }
        console.log(str);
    </script>
</head>

<body>

</body>

</html>